package java101;

import java.io.*;

import java.util.*;

public class StateLetters2 {
	
	     public static void main(String[] args){
	     int[] letterCount = new int [26];
	     
	     try{
	    	 FileReader fileReader = new FileReader("//Users//Meg//Documents//Eclipse//Hello World//src//java101//50states.txt");
	    	 BufferedReader bufferedReader = new BufferedReader(fileReader);
	    	 String state = bufferedReader.readLine();
	    	 while (state != null){
	    		 for (int i = 0; i < state.length(); i++){
	    			 char letter = state.toUpperCase().charAt(i);
	    			 if ('A' <= letter && 'Z' >= letter){
	    				 letterCount[letter - 65]++;
	    			 }
	    		 }
	    		 state = bufferedReader.readLine();
	    	 }
	     } catch (FileNotFoundException e1) {
	    	 e1.printStackTrace();
	     } catch (IOException e) {
	    	 e.printStackTrace();
	     }
	     for (int i = 0)
}
}
